#pragma once

#ifndef _Voronoi_h_
#define _Voronoi_h_

#include "..\Generator.h"
#include "VoronoiType.h"

namespace MyGame {

class Voronoi : public Generator {
public:
    Voronoi(void);
    virtual ~Voronoi(void);
    UINT GetCells() const;
    void SetCells(UINT val);
    FLOAT GetFeatures() const;
    void SetFeatures(FLOAT val);
    FLOAT GetScale() const;
    void SetScale(FLOAT val);
    VoronoiType GetType() const;
    void SetType(VoronoiType val);
    virtual void Generate(HeightMap* heightMap);
private:
    UINT cells;
    FLOAT features;
    FLOAT scale;
    VoronoiType type;
};

}

#endif
